//
//  NetWorking.h
//  Newproject3
//
//  Created by rimi on 16/9/21.
//  Copyright © 2016年 Liang. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^NetBlock)(id object);
@interface NetWorking : NSObject
@property (nonatomic,copy)NetBlock netBlock;
-(void)startPostRequestWithUrl:(NSString *)URL paramters:(NSDictionary *)paramter success:(NetBlock)successBlock failed:(NetBlock)failed;
-(void)startGetRequestWithUrl:(NSString *)URL paramters:(NSDictionary *)paramter success:(NetBlock)successBlock failed:(NetBlock)failed;
+(NetWorking *)shareNetWork;
@end
